Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modify the wait condition according to return values from earlier method call #3020

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

soltysh
Copy link
Contributor

@soltysh soltysh commented Sep 23, 2024

Description

Discussed on slack, tl;dr is: currently no matter what PackageSecretNeedsWait method returns we just return the package, we need to invert the condition to wait, ie. return an error, to give the retry.DoWithData to do its job.

Related Issue

None

Checklist before merging

…r method call

Signed-off-by: Maciej Szulik <maciej@defenseunicorns.com>
@soltysh soltysh requested review from a team as code owners September 23, 2024 10:57
Copy link

netlify bot commented Sep 23, 2024

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 7324c0b
🔍 Latest deploy log https://app.netlify.com/sites/zarf-docs/deploys/66f149ba1ef01200087e6fc5

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pkg/cluster/zarf.go 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/cluster/zarf.go 19.19% <0.00%> (ø)

Copy link
Contributor

@AustinAbro321 AustinAbro321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find

@AustinAbro321 AustinAbro321 added this pull request to the merge queue Sep 24, 2024
Merged via the queue into zarf-dev:main with commit 000eee3 Sep 24, 2024
28 checks passed
@soltysh soltysh deleted the fix_package_deployment branch September 25, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants